body{
    background: #e7ebf2;
    padding: 0px;
    margin: 0px;
    font-family: 'Lato', Calibri, Arial, sans-serif;
}

a{
    text-decoration: none;
}

.container{
    width: 800px;
    padding: 0px;
    margin: auto;
    display: table;
}

/*-------------------------------POST--------------------------*/
.post-wrapper{
    /* Size and position */
    padding: 40px 15px 15px;
    position: relative;
    width: 100%;

    /* Styles */
    background: #fff;
    border: 2px solid rgba(0,0,0,0.2);
}

.post-wrapper h4,
.post-wrapper h2{
    font-family: 'arial';
    color: #6c6763;
}

.post{
    padding: 5px;
    width: 800px;
    margin-bottom: 10px;
    background: #fff;
}

.post-title{
    color: #6c6763;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.5em;
    position: relative;
    margin: 0px;
}

.post-content{
    display: inline-block;
    width: 100%;
}

.post-info{
    float: left;
}

.post-action{
    float: right;
}

.post-separate{
    height: 3px;
    margin: 2px;
    background: url('../img/sep.png');
    position: relative;
}
.post-link{
    width: 400px;
    padding: 7px;
}

.post-detail{
    color: #6c6763;
    font-style: oblique;
    margin-right: 20px;
}

.post-detail2{
    color: #6c6763;
    font-weight: 600;
    margin-right: 20px;
}

.loading{
    display: none;
    top: 5px;
    position: relative;
}

/*-----------------------------------BUTTON--------------------------------------------*/

.btn {
    border: none;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: whitesmoke;
    padding: 10px;
    margin: 0px 0px 7px 0px;
    border-radius: 10px;
}

.btn-6px{
    width: 100%;
    padding: 8px;
    font-size: 1.3em;
    text-align: center;
    background: #47a3da;
    box-shadow: 0 6px #4776a0;
    margin: 0.7em 0;
}

.bt-delete,
.bt-cancel{
    background: #f06060;
    box-shadow: 0 4px #ab3c3c;
}

.bt-edit{
    background: #2ecc71;
    box-shadow: 0 4px #0a833d;
}

.bt-list{
    background: #fcd04b;
    box-shadow: 0 4px #da9622;
}

.bt-delete:hover,
.bt-cancel:hover{
    box-shadow: 0 2px #ab3c3c;
}

.bt-edit:hover{
    box-shadow: 0 2px #0a833d;
}

.bt-list:hover{
    box-shadow: 0 2px #da9622;
}

.btn-6px:hover{
    box-shadow: 0 4px #4776a0;
}

.btn:hover {
    top: 2px;
}

.btn:active {
    box-shadow: 0 0;
    top: 4px;
}

.btn-6px:active {
    top: 6px;
}

.bt-confirm {
    position: relative;
    top: -10px;
    width: 80px;
}
/*--------------Header---------------------*/
header{
    background: #47a3da;
    padding: 0px 0px;
    position: relative;
}

.header-wrapper{
    padding: 5px 0;
    position: relative;
    min-width: 800px;
    margin: 0 auto;
    display: table;
}

.header-title{
    float: left;
    font-size: 35px;
    margin: 19px;
    color: white;
}

.header-logo{
    margin-right: 20px;
    float: left;
}

.header-link{
    color: white;
}

.header-link:hover{
    color: rgba(255,255,255,0.5);
}

.current{
    color: rgba(255,255,255,0.5);
}

/*------------footer---------------------*/
footer{
    background: #47a3da;
    padding: 5px 0px;
    position: relative;
    text-align: center;
    font-size: 1em;
    color: white;
}

footer p{
    margin: 10px;
}

/*---------------------Form--------------------------------*/
.form {
    width: 96%;
}

.form .x{
	color: red;
    margin-left: 3px;
}

.form table{
    width: 100%;
}

.form table th{
    margin: 10px 0px;
}

.form input {
    width: 100%;
    padding: 8px 4px 8px 10px;
    margin-bottom: 10px;
	border-radius: 4px;
    border: 2px solid rgba(0,0,0, 0.2);
	font-size: 14px;
}
.form input:hover,
.form input:focus{
    border: 2px solid rgba(0,0,0, 0.3);
    outline: none;
}

.form input[type=submit]:hover,
.form input[type=submit]:focus {
    outline: none;
	background: #2a8ac4;
}

.form-label{
    font-style: italic;
    margin-top: 12px;
    color: #6c6763;
}

#name{
    width: 100%;
}

.submit{
    width: 96%;
    padding: 6px 5px;
    font-size: 16px;
    font-weight: bold;
    background: #34a5cf;
    color: #ffffff;
    border-radius: 4px;
    border: 1px solid #2b8bc7;
    margin-top: 10px;
}

.submit:hover,
.submit:focus{
    outline: none;
    background: #2a8ac4;
}

/*---------------Table----------------*/
.list th{
    padding: 10px;
}

.first-row{
    background: #47a3da;
    color: #fff;
}

.left{
    border-radius: 6px 0 0 0;
}

.right{
    border-radius: 0 6px 0 0;
}

.other-row{
    text-align: left;
    background: #86D4E1;
    color: darkslategrey;
}

.other-row-center{
    background: #86D4E1;
    color: darkslategrey;
}

.list{
    margin-top: 20px;
}

/*--------------Other--------------------*/
.error {
    color: red;
    margin-left: 10px;
}

.reg_form{
    width: 135px;
}

.form_register{
    display: inline;
}